package com.fulogo.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by fulin on 2016/1/24.
 */

@Controller
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/index")
    public String index(Map<String, Object> data) {
        data.put("user", "fulogo hello world!");
        return "index";
    }

}
